import babel from '@rollup/plugin-babel'
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'

export default {
  input: "src/index.js",
  output: {
    file: "dist/index.js",
    format: "cjs"//CommonJS; cjs、es、amd、iife、umd
  },
  plugins: [babel(), resolve(), commonjs()]
}
